package com.hy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName employeetable
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employeetable implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private Integer departmenttableId;

    /**
     * 
     */
    private String employeenumber;

    /**
     * 
     */
    private String employeename;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")//存日期时使用
    private Date birthday;

    /**
     * 
     */
    private String telephone;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String duty;

    /**
     * 
     */
    private String posttitle;

    /**
     * 
     */
    private Double salary;

    /**
     * 
     */
    private String employer;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")//存日期时使用
    private Date employedtime;

    /**
     * 
     */
    private String empinfomodifier;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date modifytime;

    /**
     * 
     */
    private String remark;

    private static final long serialVersionUID = 1L;
}